<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>Proposals: <%= controller.action_name %></title>
	<link rel="stylesheet" href="/stylesheets/blueprint/blueprint/screen.css" type="text/css" media="screen, projection">
	<link rel="stylesheet" href="/stylesheets/blueprint/blueprint/print.css" type="text/css" media="print">    
	<!--[if IE]><link rel="stylesheet" href="/stylesheets/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
</head>

<body>
<div class="container">
	<div class"span-24 last" id="topnavigation">
		<%= render :partial => "layouts/top_navigation" %>
	</div>
	<% if flash[:error] %>
    <div class="error"><%= flash[:error] %></div>
  <% end %>
  <% if flash[:notice] %>
    <div class="notice"><%= flash[:notice] %></div>
  <% end %>
  
	
	<div class="span-24 last">
		<br>
		<h1>Administration Ethikanträge</h1>
		<hr>
	</div>
	<div class="span-24 last">
		<div class="span-6">
			<p><%= link_to "Übersicht", "/admin/overview" %></p>
			Anträge:
			<ul>
				<li><%= link_to "Eingegangen", "/admin?status=submitted"%> (<%= @proposals_submitted.length %>)</li>
				<li><%= link_to "In Bearbeitung", "/admin?status=under review"%> (<%= @proposals_under_review.length %>)</li>
				<li><%= link_to "Reviewed", "/admin?status=reviewed"%> (<%= @proposals_reviewed.length %>)</li>
			</ul>
			<p><%= link_to "Statistik", "/admin/statistics"%>
		</div>	
		
		
		<%= yield %>
	</div>
	<div class="span-24 last">
		<hr>
		<p></p>		
	</div>
</div>
	<%= render :partial => "layouts/feedback"%>
</body>
</html>
	